<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <body>
        <div class="prof_pic_box">
            <h:graphicImage value="#{pageContext.request.contextPath}/resources/img/profile_icon.png"/>
        </div>
        <div class="prof_brief"> 
            <f:view>
                <h:dataTable var="item" value="#{userProfileBean.selectUserProfileInfo(loginBean.userID)}" > 
                    <h:column> 
                        <h:link value="#{item.name} #{item.lastName}" outcome="#{pageContext.request.contextPath}/web/portal/user_profile/user" />
                    </h:column>
                </h:dataTable>
            </f:view>
            <f:view>
                <ul>
                    <li>
                        <h:link value="#{msgs.friends}" outcome="#{pageContext.request.contextPath}/web/portal/user_profile/friends"/>
                    </li>
                </ul>
            </f:view>
        </div>
        <div style="clear: both"></div>
    </body>
</html>